package com.cwf.system.validation.role;


import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AddRoleParam {

    @NotBlank
    @Length(max = 10)
    private String roleName;
    /**
     * 角色描述
     */
    @Length(max = 100)
    private String roleDesc;

}
